package com.chixing.service;

import com.chixing.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
public interface ICommentService  {
    //根据用户id查询评价
    public Result getCommentAll(Integer pageNum, Long userId);
    //添加评价
    public Result saveComment(Comment comment);
    //查询所有评价
    public Result getAllComments(Integer pageNum);
    //删除评价
    public Result deleteComment(Long userId,Long commentId);
}
